package com.sea.app.module.identity.domain.repository;

import com.sea.app.module.identity.domain.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by 31417 on 2017/4/26.
 */
public interface UserRepository extends JpaRepository<User,Long>{

    User findByLoginName(String name);
    User findByNo(String no);
}
